package com.wsd.smartcarwasher.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wsd.smartcarwasher.domain.OfficialAccountUser;
import com.wsd.smartcarwasher.domain.OfficialAccountUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface OfficialAccountUserMapper extends BaseMapper<OfficialAccountUser> {
    long countByExample(OfficialAccountUserExample example);

    int deleteByExample(OfficialAccountUserExample example);

    List<OfficialAccountUser> selectByExample(OfficialAccountUserExample example);

    int updateByExampleSelective(@Param("record") OfficialAccountUser record, @Param("example") OfficialAccountUserExample example);

    int updateByExample(@Param("record") OfficialAccountUser record, @Param("example") OfficialAccountUserExample example);

    OfficialAccountUser selectUserByUnionId(@Param("unionId") String unionId);
}